package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_activity_ghost_guess", desc = "鬼市闷包真假奖励记录", autoSave = true, uploadCk = true)
public class LogGhostGuess extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "事件参数，真奖励|假奖励")
    private String eventParam;
    @FieldTypeAnnotation(desc = "是否开启，1开启，0未开启")
    private boolean open;
    @FieldTypeAnnotation(desc = "是否为真，1真奖励，0假奖励")
    private boolean real;

    public LogGhostGuess(int activityId, long userId, String eventParam, boolean open, boolean real) {
        this.activityId = activityId;
        this.userId = userId;
        this.eventParam = eventParam;
        this.open = open;
        this.real = real;
    }
    public long getUserId() {
        return userId;
    }
}
